hip.api.graphics.g2d.renderer2d

Undocumented in source.

Public Imports

hip.api.data.image
public import hip.api.data.image;
Undocumented in source.
hip.api.graphics.color
public import hip.api.graphics.color;
Undocumented in source.
hip.api.renderer.texture
public import hip.api.renderer.texture;
Undocumented in source.
hip.api.data.font
public import hip.api.data.font;
Undocumented in source.
hip.api.graphics.text
public import hip.api.graphics.text;
Undocumented in source.
hip.api.graphics.g2d.animation
public import hip.api.graphics.g2d.animation;
Undocumented in source.
hip.api.graphics.g2d.g2d_binding
public import hip.api.graphics.g2d.g2d_binding;
Undocumented in source.

Members

Functions

drawCircle
void drawCircle(int x, int y, int radius, HipColor color, int precision)

Circle API

drawCircle
void drawCircle(float x, float y, float radius, HipColor color, int precision)
Undocumented in source. Be warned that the author may not have intended to support it.
drawEllipse
void drawEllipse(float x, float y, float width, float height, int degrees, HipColor color, int precision)

Float overloading for drawEllipse

drawLine
void drawLine(float x1, float y1, float x2, float y2, HipColor color)
Undocumented in source. Be warned that the author may not have intended to support it.
drawLine
void drawLine(T start, T end, HipColor color)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRectangle
void drawRectangle(float x, float y, float width, float height, HipColor color)
Undocumented in source. Be warned that the author may not have intended to support it.
drawRectangle
void drawRectangle(T r, HipColor color)
Undocumented in source. Be warned that the author may not have intended to support it.
fillCircle
void fillCircle(int x, int y, int radius, HipColor color, int precision)
Undocumented in source. Be warned that the author may not have intended to support it.
fillCircle
void fillCircle(float x, float y, float radius, HipColor color, int precision)
Undocumented in source. Be warned that the author may not have intended to support it.
fillEllipse
void fillEllipse(float x, float y, float width, float height, int degrees, HipColor color, int precision)

Float overloading for fillEllipse

fillRectangle
void fillRectangle(float x, float y, float width, float height, HipColor color)

Float overloading for fillRectangle

fillRectangle
void fillRectangle(T r, HipColor color)

Struct compatible with float[4] or float[4]

setFont
void setFont(IHipFont font)

Sets the font for the next drawText commands

setFont
void setFont(typeof(null) )
Undocumented in source. Be warned that the author may not have intended to support it.
setFont
void setFont(IHipAssetLoadTask task)

Sets the font using HipAssetManager.loadFont

Meta